home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / _ArrayDisplay.au3 < prev    next >
Text File  |  2006-06-17  |  460b  |  26 lines

  1. ; Ex. #1:
  2.  
  3. #include <Array.au3>
  4.  
  5. $asControls = StringSplit( WinGetClassList( "", "" ), @LF )
  6. _ArrayDisplay( $asControls, "Class List of Active Window" )
  7. Exit
  8.  
  9.  
  10. ; Ex. #2:
  11.  
  12. #include <Array.au3>
  13.  
  14. Dim $avArray[8]
  15. $avArray[0] = 7
  16. $avArray[1] = "Brian"
  17. $avArray[2] = "Jon"
  18. $avArray[3] = "Larry"
  19. $avArray[4] = "Christa"
  20. $avArray[5] = "Rick"
  21. $avArray[6] = "Jack"
  22. $avArray[7] = "Gregory"
  23.  
  24. _ArrayDisplay( $avArray, "_ArrayDisplay() Test" )
  25. Exit
  26.